<html lang="en" xmlns:th="http://www.thymeleaf.org">
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.2/jquery.min.js"></script>
<head>
    <meta charset="utf-8">
    <title>登录页面</title>
    <link rel="stylesheet" href="css/login.css" type="text/css">
</head>
<body background="images/background.png">
<div id="content">
    <div class="control">
        <h1 align="center" class="top">用户登录</h1><br />
    </div>
    <div class="div1">
        <i class="fa-solid fa-triangle-exclamation error-icon"></i>
        <p align="center" class="feedback" th:text="${msg}"></p>
    </div>
    <form action="/SignOn" method="post" >
        <input type="text" name="username" id="username" placeholder="请输入用户名" /><br /><br />
        <input type="password" name="password" id="password" placeholder="请输入密码" /><br /><br />
<!--        <input type="text"  name="code" id="code" placeholder="请输入验证码" autocomplete="off"  ><br/><br/>-->
<!--        <a href="signon"><img border="0" src="code" alt="code" name="checkCode" width="300px" height="50px"> </a><br/><br/>-->
        <input type="submit" id="denglu"  value="登录" />
        <a href="/RegisterForm" >注册</a>
    </form>
</div>
</body>
</html>